package home.pb;

import org.openjdk.jol.info.ClassLayout;

public class ObjLock01 {

    public static void main(String[] args) {
        Object object = new Object();
        System.out.println("new Object:" + ClassLayout.parseInstance(object).toPrintable());

        String str1 = "1234";
        System.out.println("String:" + ClassLayout.parseInstance(str1).toPrintable());

        System.out.println("ObjLock01:" + ClassLayout.parseInstance(ObjLock01.class).toPrintable());
    }

}
